package com.ciaojian.store.model.vo;

import com.ciaojian.core.enums.business.MemberTypeEnum;
import com.ciaojian.core.enums.business.OrderCustomerTypeEnum;
import com.ciaojian.core.enums.business.MemberOrderStatusEnum;
import com.ciaojian.core.enums.business.MemberOrderTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Atlakyn
 */
@Data
@Builder
@ApiModel
public class OperationMemberOrderVO {
    @ApiModelProperty("订单id")
    private Integer id;

    @ApiModelProperty("订单类型")
    private MemberOrderTypeEnum type;

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("联名会员")
    private MemberTypeEnum memberType;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("消费次数")
    private Integer consumeCount;

    @ApiModelProperty("门店id")
    private Integer storeId;

    @ApiModelProperty("门店名称")
    private String storeName;

    @ApiModelProperty("订单号")
    private String orderNo;

    @ApiModelProperty("订单状态")
    private MemberOrderStatusEnum status;

    @ApiModelProperty("购买时间")
    private Date addTime;

    @ApiModelProperty("金额")
    private BigDecimal money;

    @ApiModelProperty("顾客属性")
    private OrderCustomerTypeEnum customerType;

    @ApiModelProperty("邀请发型师")
    private Integer inviterId;

    @ApiModelProperty("发型师名称")
    private String workerName;

    @ApiModelProperty("订单类型")
    private String orderType;
}
